﻿@model IEnumerable<MvcFlaschi.Models.Flaschi>

@{
    ViewBag.Title = "Getrunken Flaschies";
}
@section headerbar{
    <h1>Getrunkene Flaschies</h1>
}
<ul data-role="listview" data-filter="true" > 
@foreach (var item in Model) {
    <li>
        <a href="@Url.Action("Edit", new { id = item.FlaschiId })">
        <h2>@Html.DisplayFor(modelItem => item.FlaschiDate) - @Html.DisplayFor(modelItem => item.FlaschiTime)</h2>
        <p>@Html.DisplayFor(modelItem => item.FlaschiMenge) ml</p>
        </a>
    </li>
}
</ul>
@section footerbar {
    <a href="@Url.Action("Create")" data-icon="plus">Neu</a>
}